#ifndef HUABIWIDGET_H
#define HUABIWIDGET_H

#include <QToolButton>
#include <QWidget>

namespace Ui {
class HuaBiWidget;
}

class HuaBiWidget : public QWidget
{
    Q_OBJECT

public:
    explicit HuaBiWidget(QWidget *parent = nullptr);
    ~HuaBiWidget();
    void paintEvent(QPaintEvent *event) override; //重写绘制函数，让窗口圆角化

    QList<QToolButton *> getHuabiButtons();
signals:
    void sonOfHuabiIsSelected(const QString& selectedItemText); //发出选中的信号
private:
    Ui::HuaBiWidget *ui;
};

#endif // HUABIWIDGET_H
